Part Number Hot Search : 
1N5969 02100 OM6006SC 2N545 UNH0001 L2044 EW1036 AD7545LP
Product Description
Full Text Search
 

To Download AN1100 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  application note st10x167/f168 ? 72-tch-175-00 19 oct 1998 reducing analog-digital conversion error the st10x167/f168 contains an analog / digital converter with 10-bit resolution, 9.7 m s conversion time, a sample & hold circuit on-chip, esd protected analog inputs and a atotal unadjusted erroro of 2lsb. an automatic self-calibration adjusts the adc module to changing temperatures or process variations, giving high performance across the whole automotive temperature range. this application note identifies the causes of adc error and gives solutions to optimize adc performance.
st10x167/f168 72-tch-175-00 2/10 application note table of contents 1 sources of adc error - - - - -----------------3 1.1 analog input signal error - - - -----------------3 1.2 input overload errors - - - - - - - - --------------6 1.3 reference voltage errors - - - -----------------6 2 how to minimize error - -------------------7 2.1 optimize the input signal - - - -----------------7 2.2 reduce input overload error - - - - - - - - - - - - - - - - - - 7 2.3 reference voltage error reduction - --------------8 3 appendix - definitions - - - - - - - - - - - - - - - - ----9
st10x167/f168 application note 3/10 72-tch-175-00 1 sources of adc error sources of adc accuracy error are classified into 3 categories: ? analog input signal error ? input overload error ? reference voltage error each of these categories is described in the following sections. 1.1 analog input signal error analog input signal error can be created by poor matching of the source internal resistance with the adc input parameters, either caused by, ? voltage drop in the voltage source resistance due to input leakage current, ? or by poor charging of the adc internal capacitance (cin). analog input error can also be caused by noise from the analog input signal. this section described each of these causes. figure 1 source internal resistance errors ioz1 leakage agnd sample r1 cin c io rasrc agnd v p5.x v in ? i oz1 (input leakage current port5): max +/- 500 na (test condition: 0.45v st10x167/f168 sources of adc error 72-tch-175-00 4/10 application note refer to figure 1 for a schematic of source internal resistance errors. voltage drop in the source resistance: the error generated by the voltage source internal resistance is: for example: a source resistance of 15kohm and a specified leakage current (i oz1 )of +/- 500na will cause a voltage error of +/- 7.5mv or +/- 1.5lsb. refer the latest product data sheet for the value of i oz1 . note input leakage current is caused by parasitic current at input pin protection; this protection is necessary to protect the device against esd (electrical static discharge) and against overload. poor charging of the adc internal capacitance: during the sample time, the input capacitance (cio and cin) must be charged/discharged by the external source. the internal resistance of the source must allow the capacitance to reach its final value before the end of sample time: see figure 2. error lsb () r source i 0 z 1 v aref v agnd ---------------------------------------- 1 0 2 4 =
st10x167/f168 application note 5/10 72-tch-175-00 if this does not happen, i.e. if the source resistance is mis-matched to the sample time, a voltage loss will occur at the sample and hold stage. this voltage loss causes an accuracy loss when increasing or decreasing the input voltage from vref/2 (hold capacitor is pre-charged to vref/2 before sampling to reduce charge/discharge time). the error is calculated by the formula: where: t s = sample time in m s, r = r source +r1in w , c = cin + cio in m f. for example: since the error is proportional to the difference between vin and vref/2, the effect produces a non-linearity in the conversion of large-amplitude signals. in practice, if ts>7rc, the maximum error is reduced to <1/2 lsb (<0.05%). figure 2 possible error due to input capacitance charging time vin voltage error at time ti voltage at sample and hold input vin t s 0 ? error ? vref/2 vref vref/2 max error lsb () 1 2 -- - 1024 t s rc M () exp =
st10x167/f168 sources of adc error 72-tch-175-00 6/10 application note errors due to noise from the input signal: the sample and hold circuitry is not designed to filter the input analog signal. noise at the input signal will cause input voltage variation and, therefore, accuracy loss. 1.2 input overload errors these errors are caused by input overload. during overload, internal protection-diodes sink current to reduce the overload voltage. because of the close proximity of the internal protection-diodes and the adc circuitry, the adc performance is affected. the st10c167 accepts up to 10ma of input overload current while guaranteeing a total unadjusted error (tue) of +/- 2lsb (refer to the product data sheet for values). overload above the specified limit causes adc accuracy loss and may damage the circuit. 1.3 reference voltage errors the accuracy of the conversion is obviously linked to the accuracy of the reference voltage. while noise and/or voltage variations are a well known source of error, internal resistance is another source of error from the reference voltage. during the conversion, the adc internal capacitance must be repeatedly charged or discharged. the internal resistance of the reference voltage must allow the capacitance to reach its correct voltage within the conversion time (see figure 2). a mis-match between the conversion time and reference voltage internal resistance will cause accuracy errors. figure 3 simplified circuit for analog reference voltage adc v ref r ref v aref v agnd v in p 5.x r in c ref
st10x167/f168 application note 7/10 72-tch-175-00 2 how to minimize error 2.1 optimize the input signal there are three possible optimizations: minimize the total source impedance seen by the st10: this means choosing sensors with low output impedance (not always easy for some types of sensor), and minimizing the serial resistance of any protection devices between the analog source and the input pin (while still providing a voltage protection level compatible with the circuit specification). match the sample time to the analog source impedance: use the formula that relates sample time to source internal resistance (given in the st10 data sheet) to match the source resistance to one of the available sample times. for example: for a source impedance of 10kohms, and given then the minimum sample time is: note this formula includes a safety factor of 10, therefore from the equation for error on page 4, dynamic errors are 0.02lsb. furthermore, r asrc is the total source impedance seen by the device and, therefore, includes any protection components. reduce noise at the input pin: add an external rc filter (with attention to the source internal resistance). compute the average value of different samples in the software routine. 2.2 reduce input overload error because errors are induced from overload current going into/out of the integrated protection diodes, optimizations minimize this current in 3 ways: minimize the over-voltage at the analog source: the possible optimizations depend on the user application, typically, they involve the addition of zener diodes or transils. for component selection, refer to st-on-line discrete devices/protection circuit data books. minimize the over-voltage at the st10 analog input pins: either, add protection diode(s) or transil(s), or add a serial resistor. caution: the addition of a serial resistor increases the source internal resistance and, therefore, may impact maximum conversion speed. r asrc t s 330 0.25 M = t s 330 r asrc 0.25 + () = t s 3380 ns min () =
st10x167/f168 how to minimize error 72-tch-175-00 8/10 application note synchronize adc conversion with analog transitions: where possible, avoid carrying out conversions when analog inputs are scheduled to go into overload conditions (at least, during the transition phase). 2.3 reference voltage error reduction the possible optimizations are: reference voltage noise: reduce noise by careful design; pcb routing and de-coupling of the reference voltage: ? place the analog source as close as possible to the v aref pin. ? avoid routing any high frequency/high amplitude signals near to the analog source. ? make sure that the voltage reference source presents a low impedance from dc to well above the max. sampling frequency (1/t c ): see figure 4. match the reference voltage internal resistance to conversion time: use the formula that relates conversion time to source internal resistance (given in the st10 data sheet) to match the reference voltage to one of the 3 available conversion times. for example: given figure 4 analog reference source - impedance characteristics 10/t c z aref | r aref t cc 165 -------- -0.25 =
st10x167/f168 application note 9/10 72-tch-175-00 then the max. source impedance for t cc of 1200ns is: note this should hold up to f=10/tc, so if t c 20 m s, ? z aref ? <7k w , up to 500khz. note figure 5 shows a commonly used circuit for the analog reference voltage. 3 appendix - definitions lsb: least significant bit. resolution: defines the smallest input voltage change required to increment the output of the adc between one code and the next adjacent code. resolution is a design parameter rather than a performance specification; it says nothing about accuracy. resolution is either expressed in percent of the full-scale, or in binary bits. accuracy: defines the worst case difference between the actual input voltage and the full-scale weighted equivalent of the binary output code. for st10 devices, the total unadjusted error describes the maximum sum of all errors intrinsic to the adc. intrinsic errors: are errors intrinsic to the adc itself, such as: quantizing error, scale error, offset error, hysteresis error, linearity error. for simplicity and ease of use, the st10 adc specification gives the sum of all intrinsic errors (total unadjusted errors). figure 5 typical analog reference circuit r aref 1200 165 ----------- - 0.25 = 7 kohms max () = c r z aref =r//(1/jwc) v aref v agnd
st10x167/f168 72-tch-175-00 10/10 application note information furnished is believed to be accurate and reliable. however, stmicroelectronics assumes no responsibility for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. no license is granted by implication or otherwise under any patent or patent rights of stmicroelectronics. specifications mentioned in this publication are subject to change without notice. this publication supersedes and replaces all information previously supplied. stmicroelectronics products are not authorized for use as critical components in life support devices or systems without express written approval of stmicroelectronics. the st logo is a registered trademark of stmicroelectronics ? 1998 stmicroelectronics - all rights reserved stmicroelectronics group of companies australia - brazil - canada - china - france - germany - italy - japan - korea - malaysia - malta - mexico - morocco the netherlands - singapore - spain - sweden - switzerland - taiwan - thailand - united kingdom - u.s.a. http://ww w.st.com ?


▲Up To Search▲   

 
Price & Availability of AN1100

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X